package org.springblade.modules.door.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 设备信息-日志文件记录表实体类
 *
 * @author xiafb
 * @since 2023-09-05
 */
@Data
@TableName("t_door_log_file")
@ApiModel(value = "DeviceLogFile对象", description = "设备信息-日志文件记录表")
public class DoorLogFile {

    private static final long serialVersionUID = 1L;

    /**
     * 设备安卓端日志记录id
     */
    @ApiModelProperty(value = "id")
	@TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 设备号
     */
    @ApiModelProperty(value = "设备号")
    private String deviceCode;
    /**
     * 日志日期
     */
    @ApiModelProperty(value = "日志日期")
    private String logDate;
    /**
     * 文件名
     */
    @ApiModelProperty(value = "文件名")
    private String name;
    /**
     * 文件路径
     */
    @ApiModelProperty(value = "文件路径")
    private String path;
    /**
     * 完整文件路径
     */
    @ApiModelProperty(value = "完整文件路径")
    private String fullPath;

    @ApiModelProperty(value = "更新时间", hidden = true)
    private Date uploadTime;
}
